/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.iftk.xmlparser.domain;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Tomi
 */
public class News extends BubbleItem {
    private List<DepartmentNews> news;
    
    public News() {
        news = new ArrayList();
        setBubbleTitle("News");
        setBubbleShort("Department news");        
    }
    
    public void add(DepartmentNews news) {
        this.news.add(news);
    }

    public List<DepartmentNews> getNews() {
        return news;
    }

    public void setNews(List<DepartmentNews> news) {
        this.news = news;
    }
    
}
